package com.zs.studentmanager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zs.studentmanager.entity.domain.Teacher;
import com.zs.studentmanager.entity.vo.TeacherVo;

import java.util.List;

/**
* @author 周小白
* @description 针对表【s_teacher(教师信息表)】的数据库操作Mapper
* @createDate 2024-01-19 19:58:37
* @Entity generator.domain.Teacher
*/
public interface TeacherMapper extends BaseMapper<Teacher> {


    /**
     * 获取教师列表
     * @param pageNum 当前页
     * @param pageSize 每页显示条数
     * @param searchValue 搜索值
     * @return 教师列表
     */
    List<TeacherVo> getTeacherList(Integer pageNum, Integer pageSize, String searchValue);


    /**
     * 获取教师详情
     * @param id 教师id
     * @return 教师详情
     */
    TeacherVo getTeacherDetails(Long id);
}




